home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr47 / qfml10.zip / README.DOC < prev    next >
Text File  |  1995-01-31  |  4KB  |  115 lines

  1.                                 QFML
  2.  
  3.         Quick Flat Memory Lite: A flat-real mode memory manager.
  4.  
  5.         (c)opyrights 1995 RENDER of ACC TEAM
  6.  
  7.         I have made this memory manager after trying some other ones.
  8.     All I have seen have limitations like not running without himem or
  9.     restricting the 4Gb offsets to one segment register.
  10.         QFM has this advantatges:
  11.  
  12.                 - Flat-mode
  13.                 - Real-mode
  14.                 - Full MsDos compatible
  15.                 - Work with or without himem
  16.                 - Can be used under C or Pascal (I have used Borlandc)
  17.  
  18.         In order to use QFM you must ensure that the processor is not
  19.     already running protected mode. This is because QFM does not
  20.     support DPMI or QEMM so it can stay in real mode.  If it stayed
  21.     under DPMI it would be slower, because protected mode is slower.
  22.  
  23.         To use QFM is simplicity itself:
  24.  
  25.                 - Start QFM:
  26.  
  27.                         StartPL()
  28.  
  29.                 - Open all free mem. after first Mgb:
  30.  
  31.                         OpenMem()
  32.  
  33.                 - Get the starting adress of that block:
  34.                         p=GiveSta()
  35.  
  36.                 - Now you can address from postion 0 to 4Gb just by
  37.                   setting one of the segments registers(gs,ds,es,fs)
  38.                   to 0 and using a 32-bit offset (EDI,ESI,EBX,etc..)
  39.  
  40.                 - End your code with CloseMem() and LeavePL()
  41.  
  42.  
  43.  
  44.     HOW TO INCLUDE IT:
  45.  
  46.         If you are coding only asm just include QFML.INC and link
  47.     with QFML.OBJ with option /3 (TLINK).
  48.  
  49.         If you are coding C follow this instructions: (Borlandc 3.1)
  50.  
  51.                 - Make a project in wich you include your files and
  52.                 QFML.OBJ
  53.  
  54.                 - Use a program like prj2mak to get the make file
  55.                 and modify the line which includes TLINK, adding
  56.                 the parameter /3.
  57.  
  58.                 - Now you can use MAKE to compile. Make notice that
  59.                 you cannot compile within the IDE as the integrated
  60.                 linker will not allow you to link 32-bit code.
  61.  
  62.         One important point: You MUST compile with models MEDIUM,LARGE
  63.     or HUGE, this is because the code of QFML must be in a far segment.
  64.     The two examples have been compiled in MEDIUM model.
  65.  
  66.         You cannot execute within the IDE as it is running in protected
  67.     mode, but you can debug it with TURBODEBBUGER.
  68.  
  69.     UNREGISTERED VERSION:
  70.  
  71.         The unregistered version allows a maximum of 255 K. and has
  72.     a delay in the StartPL function. IT CAN BE FREELY DISTRIBUTED TO
  73.     ANYONE INTERESTED WITH NO CHARGE, BUT IT MUST BE COPIED IN IT'S
  74.     COMPLETE FORM. The complete version compromises 18 files; please
  75.     ensure you have the correct pack, if you don't you can find it in
  76.     internet (probably oak.oakland.edu)    
  77.         The registered version gets all memory available, no delay
  78.     and some options like non-echo.
  79.         To register send 1000 Pts. or 6 pounds to:
  80.  
  81.                 Mickel Bernal Herzog
  82.                 Pascual Orozco 13, Entresuelo A
  83.                 03006. ALICANTE
  84.                   SPAIN
  85.  
  86.         You will get the latest version along with some extras, like
  87.     the program which generates the strange plasmas.
  88.  
  89.         For more information e-mail me at:
  90.                  a00458@DTIC.ua.es
  91.  
  92.                  RENDER   (Guillermo Alejandro Collada Ali) 1995
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.